<#assign actionErrors = stack.findValue("actionErrors")?if_exists/>
<#if actionErrors?has_content || fieldErrors?has_content>
<div class="errorBox">
<div class="errorMessage">
	<p><strong>${action.getText("errors.occurred")}</strong></p>
	<p>
		<ul>
	    	<#list fieldErrors?keys as key>
			<#list fieldErrors[key] as error>
    		<li>${action.getText(error)?if_exists?replace("\n", "<br/>")}</li>
			</#list>
			</#list>		
	    	<#list actionErrors as error>
	    	<li>${action.getText(error)?if_exists?replace("\n", "<br/>")}</li>
	    	</#list>
	    </ul>
	</p>
</div>
</div>
</#if>